﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChiTietKhongGianSong.aspx.cs" Inherits="WebHousingInfo.ChiTietKhongGianSong" %>

<%@ Register Src="~/Controls/Header.ascx" TagName="Head" TagPrefix="Header" %>
<%@ Register Src="~/Controls/MenuFooter.ascx" TagName="MeNuDuoi" TagPrefix="MenuFooter" %>
<%@ Register Src="~/Controls/Footer.ascx" TagName="Foot" TagPrefix="Footer" %>
<%@ Register Src="~/Controls/Quangcaotraitrangcon.ascx" TagName="QC" TagPrefix="Quangcaotraitrangcon" %>
<%@ Register Src="~/Controls/TimKiemTrangCon.ascx" TagName="TK" TagPrefix="TimKiemTrangCon" %>
<%@ Register Src="~/Controls/NhaDatBanThueMoiTrangCon.ascx" TagName="NDM" TagPrefix="NhaDatBanThueMoiTrangCon" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Chi Tiet KGSong</title>
</head>
<body>
    <form id="form1" runat="server">
        <div id="uni_wrapper">
            <Header:Head ID="Header" runat="server" />
	        <div id="uni_main">
	        <% string mode = Request.QueryString["idkgs"];
	         var objectkgs=HousingInfo.Library.NewsBO.GetNewsBO(Convert.ToInt32(mode));   
	        %>
		        <div id="content" class="clearfix">
			        <div id="group_240_l">
			        <!--b box search-->
                        <TimKiemTrangCon:TK ID="TimKiemTrangCon" runat="server" />					     	
				        <NhaDatBanThueMoiTrangCon:NDM ID="NhaDatBanThueMoiTrangCon" runat="server" />
                        <Quangcaotraitrangcon:QC ID="Quangcaotraitrangcon" runat="server" />
			        </div>
			        <div id="group_710_r">
				        <div id="thongtin">
					        <div class="title">
						        <div class="subtitle">
							        <p><%=objectkgs.Title%></p>
						        </div>
					        </div>
					        <div id="thongtinmota">		  
						        <div>
						               <div>
						                <p><%=objectkgs.NewsContent%></p>
						               </div>
						        </div>
					        </div>
				        <!--e subtitle-->
				        </div>
				        <div class="banner_ad_468_center">
						        Dat quang cao o day
				        </div>
				        <div id="chitietmuaban">
				        <% var objectkgsong = HousingInfo.Library.NewsBOList.GetNewsBOList_ByID(9);
				         %>
					        <div class="title_chitietmuaban">
						        <p>CÁC TIN KHÁC</p>
					        </div>
                                <div class="margin_main_table">
                                 <% foreach (var obkgs in objectkgsong)
                                {
                                    if(obkgs.NewsID!= objectkgs.NewsID)
                                    {%>
                                        <p class="color_bg_link">
			                                <a href="ChiTietKhongGianSong.aspx?idkgs=<%=obkgs.NewsID%>"><%=obkgs.Title%></a>
			                            </p>
			                        <%}
                                }%> 
                                </div>
				        </div>
			        </div>
		        </div>  	
		        <MenuFooter:MeNuDuoi ID="MenuFooter" runat="server" />	
	        </div>
	        <Footer:Foot ID="Footer" runat="server" />
        </div>    
    </form>
</body>
</html>
